//
//  sendOnlineP.m
//  tcpoctest
//
//  Created by gump on 5/15/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

#import "sendOnlineP.h"

@implementation sendOnlineP

-(void)sendonline:(int)is
{
    //发送 15char(1),15char(1),性别char(1)1男 2女
    
    if (![self CheckLogin]) {
        return;
    }
    
    int l = CHAR_PL * 3 + INT_PL;
    
    [self initDataByLength:l];
    
    [sb WriteChar:is];
    
    [self Package];
}

@end
